<?php
	class html
	{
		function html()
		{
			Global $mySql, $lib;
			$this->mySql = $mySql;
			$this->lib = $lib;	
			Global $site;
			$this->site = $site;
		}
		function generate_CSSLinks($stylesheets)
		{
			foreach( $stylesheets as $key => $filename )
			{
				echo "<LINK href=\"http://" . $_SERVER["SERVER_ADDR"] . SITE_PATH_CSS . $filename . "\" rel=\"stylesheet\" type=\"text/css\">\n";
			}
		}
		function generate_JSLinks($javascript)
		{
			foreach( $javascript as $key => $filename )
			{
				echo "<SCRIPT language=\"JAVASCRIPT\" SRC=\"http://" . $_SERVER["SERVER_ADDR"] . SITE_PATH_JS . $filename . "\"></SCRIPT>\n";
			}
		}
	}
?>
